You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Classes > Matrix Structure > Matrix Methods > Matrix.MeanRows Method
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Matrix.MeanRows Method

Calculates the mean value of each of the matrix rows.

Syntax
C#
Visual Basic
public void MeanRows([In] TVec result);

Calculate the mean vale of each of the calling matrix rows and store the results in result vector. The Length and Complex properties of the result vector are adjusted automatically.

var A: Matrix; res: Vector; begin A.SetIt(2,2,false,[1,5, -3,6]); A.MeanRows(res); // res = (3, 1.5) end;
Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!